// 5 入离职管理 2
export default {
  path: '/careermanage',
  name: 'careermanage',
  icon: 'file-sync',
  authority: ['es:antd:careermanage'],
  routes: [
    //分配
    {
      path: '/careermanage/allocation',
      name: 'allocation',
      hideChildrenInMenu: true,
      // authority: ['es:career:entryhandle'],
      authority: ['es:career:personallot'],
      routes: [
        {
          path: '/careermanage/allocation',
          redirect: '/careermanage/allocation/index',
        },
        {
          path: '/careermanage/allocation/index',

          component: './CareerManage/Allocation/Index',
        },
      ],
    },
    {
      path: '/careermanage/career',
      name: 'career',
      hideChildrenInMenu: true,
      authority: ['es:career:entryhandle'],
      routes: [
        {
          path: '/careermanage/career',
          redirect: '/careermanage/career/index',
        },
        {
          path: '/careermanage/career/index',

          component: './CareerManage/Career/Index',
        },
        {
          path: '/careermanage/career/collectmaterial',
          name: 'collectmaterial',
          component: './CareerManage/Career/CollectMaterial',
        },
        {
          path: '/careermanage/career/updatematerial',
          name: 'updatematerial',
          component: './CareerManage/Career/CollectMaterial',
        },
        {
          path: '/careermanage/career/detail',
          name: 'detail',
          component: './CareerManage/Career/Detail',
        },
        {
          path: '/careermanage/career/Problem',
          name: 'Problem',
          component: './CareerManage/Career/Problem',
        },
        {
          path: '/careermanage/career/reImport',
          name: 'reImport',
          component: './CareerManage/Career/ReImport',
        },
        {
          path: '/careermanage/career/batchFeedback',
          name: 'batchFeedback',
          component: './components/Problem/ProblemPage/BatchFeedback',
        },
        {
          path: '/careermanage/career/batchContact',
          name: 'batchContact',
          component: './CareerManage/Career/BatchContact',
        },
      ],
    },
    {
      path: '/careermanage/laborcontract',
      name: 'laborcontract',
      authority: ['es:career:laborcontract'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/careermanage/laborcontract',
          redirect: '/careermanage/laborcontract/index',
        },
        {
          path: '/careermanage/laborcontract/index',
          component: './CustomerServiceManage/LaborContract/Index',
        },
        {
          path: '/careermanage/laborcontract/sign',
          name: 'sign',
          component: './CustomerServiceManage/LaborContract/Sign',
        },
        {
          path: '/careermanage/laborcontract/renew',
          name: 'renew',
          component: './CustomerServiceManage/LaborContract/Renew',
        },
        {
          path: '/careermanage/laborcontract/detail',
          name: 'detail',
          component: './CustomerServiceManage/LaborContract/Detail',
        },
        {
          path: '/careermanage/laborcontract/change',
          name: 'change',
          component: './CustomerServiceManage/LaborContract/Change',
        },
        {
          path: '/careermanage/laborcontract/batchsign',
          name: 'batchsign',
          component: './CustomerServiceManage/LaborContract/BatchSign',
        },
      ],
    },
    {
      path: '/careermanage/dimission',
      name: 'dimission',
      hideChildrenInMenu: true,
      authority: ['es:career:dimission'],
      routes: [
        {
          path: '/careermanage/dimission',
          redirect: '/careermanage/dimission/index',
        },
        {
          path: '/careermanage/dimission/index',
          component: './CareerManage/dimission/Index',
        },
        {
          path: '/careermanage/dimission/contactbegin',
          name: 'contactbegin',
          component: './CareerManage/dimission/ContactBegin',
        },
        {
          path: '/careermanage/dimission/detail',
          name: 'detail',
          component: './CareerManage/dimission/Detail',
        },
        {
          path: '/careermanage/dimission/progress',
          name: 'progress',
          component: './CareerManage/dimission/Progress',
        },

        {
          path: '/careermanage/dimission/problem',
          name: 'problem',
          component: './CareerManage/dimission/Problem',
        },
        {
          path: '/careermanage/dimission/batchFeedback',
          name: 'batchFeedback',
          component: './components/Problem/ProblemPage/BatchFeedback',
        },
      ],
    },
    //分配
  ],
};
